interface FetchGeneralDataAPIResData {
  code: number
  msg: string
  time: string
  data: GeneralData
}

/**
 * @description 获取单位类型列表以及主页轮播图、通知、在线选班等数据
 */
export function fetchGeneralDataAPI() {
  return httpInstance.get<FetchGeneralDataAPIResData>(
    '/api/index/getwebInfo',
  )
}
